package com.jprocms.module.cms.es.enums;

public enum EnumSearchPos {

    TITLE(1, "标题"),
    TEXT(2, "内容"),
    TITLE_TEXT(3, "标题或内容"),
    AUTHOR(4, "作者"),
    SOURCE(5, "来源"),
    ;

    private Integer val;
    private String desc;

    EnumSearchPos(Integer val, String desc) {
        this.val = val;
        this.desc = desc;
    }

    public Integer getVal() {
        return val;
    }

    public void setVal(Integer val) {
        this.val = val;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
